﻿using System.Drawing;

namespace FastColoredTextBoxNS
{
    /// <summary>
    /// Style of chars
    /// </summary>
    public struct Style
    {
        /// <summary>
        /// Foreground color
        /// </summary>
        public Color foreColor;
        /// <summary>
        /// Background color
        /// </summary>
        public Color bgColor;
        /// <summary>
        /// Font style
        /// </summary>
        public FontStyle fontStyle;

        /// <summary>
        /// Constructor
        /// </summary>
        public Style(Color foreColor, Color bgColor, FontStyle fontStyle)
        {
            this.foreColor = foreColor;
            this.bgColor = bgColor;
            this.fontStyle = fontStyle;
        }
    }
}
